<template>
  <div class="box">
    <div>
      {{ iosUrl }}
    </div>
  </div>
</template>

<script>
export default {
  data() {
    return {
      iosUrl: ''
    }
  },
  mounted() {
    this.iosUrl = localStorage.getItem('ios', this.iosUrl)

    // this.iosUrl = this.$route.query.ios
    console.log(this.iosUrl)
  },
  destroyed: function() {
    localStorage.removeItem('ios')
  }
}
</script>

<style lang="less" scoped>
.box {
  height: 100%;
  div {
    margin: 50% 40px;
    overflow: hidden;
    word-wrap: break-word;
    word-break: break-all;
    text-align: center;
  }
}
</style>
